package com.demo.entity;

public class TreeNode{
	private String id;
	private String text;
	private Boolean leaf = true;	//是否子叶子节点，默认是
	private String cls;		//图标
	private String iconCls;
	private String action;	//请求路径
	private String model;
	private Boolean expanded;	//展开
	private Boolean checked;
	//private List<TreeNode> children = new ArrayList<TreeNode>();
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	
	public String getText(){
		return text;
	}
	public void setText(String text){
		this.text = text;
	}
	
	public Boolean getLeaf(){
		return leaf;
	}
	public void setLeaf(Boolean leaf){
		this.leaf = leaf;
	}
	
	public String getCls(){
		return cls;
	}
	public void setCls(String cls){
		this.cls = cls;
	}
	
	public String getIconCls(){
		return iconCls;
	}
	public void setIconCls(String iconCls){
		this.iconCls = iconCls;
	}
	
	public String getAction(){
		return action;
	}
	public void setAction(String action){
		this.action = action;
	}
	
	public String getModel(){
		return model;
	}
	public void setModel(String model){
		this.model = model;
	}
	
	public Boolean getExpanded(){
		return expanded;
	}
	public void setExpanded(Boolean expanded){
		this.expanded = expanded;
	}
	
	public Boolean getChecked(){
		return checked;
	}
	public void setChecked(Boolean checked){
		this.checked = checked;
	}
	
//	public List<TreeNode> getChildren(){
//		return children;
//	}
//	public void setChildren(List<TreeNode> children){
//		this.children = children;
//	}
	
}
